package it.pecuswap.backend.services;

import java.util.Properties;

import javax.ws.rs.Path;

import org.apache.log4j.Logger;

import it.pecuswap.backend.business.ConfigurazioneBusiness;
import it.pecuswap.commons.client.rest.interfaces.ConfigurazioneServiceInterface;
import it.pecuswap.commons.exceptions.PecuswapRestException;

@Path("/")
public class ConfigurazioneService implements ConfigurazioneServiceInterface {
	
	private static final Logger LOGGER = Logger.getLogger(ConfigurazioneService.class);
	private ConfigurazioneBusiness configurazioneBusiness;
	
	public ConfigurazioneService(){
		this.configurazioneBusiness = new ConfigurazioneBusiness();
	}

	@Override
	public Properties getProperties() throws PecuswapRestException {
		return configurazioneBusiness.getProperties();
	}

}
